<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>聊天页面</title>

     <link href="<%=request.getContextPath() %>/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="<%=request.getContextPath() %>/resources/css/datepicker.css" rel="stylesheet">
    <link href="<%=request.getContextPath() %>/resources/layui/css/layui.css" rel="stylesheet">
    <link href="<%=request.getContextPath() %>/resources/css/chat.css" rel="stylesheet">
    <script src="<%=request.getContextPath() %>/resources/jquery/jquery-1.11.3.min.js"></script>
    <script src="<%=request.getContextPath() %>/resources/bootstrap/js/bootstrap.min.js"></script>
    <script src="<%=request.getContextPath() %>/resources/layer/layer.js"></script>	
    <script src="<%=request.getContextPath() %>/resources/layui/layui.js"></script>		
    <script src="<%=request.getContextPath() %>/resources/js/numberChina.js"></script>	
    <script src="<%=request.getContextPath() %>/resources/js/chat.js"></script>
	<script type="text/javascript" src="https://unpkg.com/wangeditor/release/wangEditor.min.js"></script>
		<link href="<%=request.getContextPath() %>/resources/img/tea.png" rel="icon">
    
</head>
<body class="hold-transition skin-blue sidebar-mini" style="background-image: linear-gradient(to top, #fff,#30A12B); height: 1250px;">
<input id="usersequence" type="text" value='<%=session.getAttribute("usersequence") %>' hidden >
<input id="sequence" type="text" value='<%=request.getParameter("sequence") %>' hidden>
		<jsp:include page="/WEB-INF/jsp/menu.jsp" />
	
		
	<div class="form row" style="margin-left:360px;">
		<div class="container col-sm-8">
    		<div class="talk_con">
        		<div class="talk_show" id="words">
		
        		</div>
		      	<div id="editor">
		
		   		 </div>
   				 <input type="button" value="发送消息" id="sendMessage" class="btn btn-success" style="margin-left:900px;">
    		</div>
		</div>
 	</div>
</body>
<script type="text/javascript">
         var E = window.wangEditor
        var editor = new E('#editor')
        // 或者 var editor = new E( document.getElementById('editor') )
    
		editor.customConfig.uploadImgShowBase64 = true

        editor.create()
    </script>
</html>
